package dd.prog2.exercises.set02.sequences2;

public class Naturals implements iSequence {
//	private int max;
	private int nextN = 1;

//	public Naturals(int max) {
//		this.max = max;
//	}

	@Override
	public boolean hasNext() {
		return true;
	}

	@Override
	public int nextElement() {
		return nextN++;
	}

}
